package injectTest

import com.google.inject.Guice
import org.quartz.Scheduler

/**
  * Created by liuwei on 2017/10/30.
  */
trait Animal {

  protected def head: Int = 1

  def cry() = {
    "cry"
  }

}


class Cat extends Animal {
  override def cry() = {
    "miao"
  }
}


class Dog extends Animal {
  override def cry() = {
    ("wang")
  }
}

class Other extends Animal {}



